-
Notifications
You must be signed in to change notification settings - Fork 0
Conversation
be24baf
to
8e39cb8
Compare
Why not bee? Update merge/pull request title with correct version (currently Add haskell-8.1.20-0)? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me!
8e39cb8
to
5d5c55b
Compare
@pmenzel: libtinfo.so is the show-stopper. It comes with recent ncurses. So, als long as our (ancient) ncurses bee-package isn't updated, we can not use it. |
Add package which installs Haskell 8.10.1, cabal 3.2.0.0 and hls (haskell-language-server) 0.5.1 using ghcup [1] We need libtinfo.so.6 at build time for ghcup and at run time for haskell. The installed libncursesw.so is (hopefully) ABI compatible, so add it to the package. [1] https://gitlab.haskell.org/haskell/ghcup-hs
5d5c55b
to
3b255d7
Compare
mkdir -p $PREFIX/lib | ||
cp /usr/lib/libncursesw.so $PREFIX/lib/ | ||
ln -sf libncursesw.so $PREFIX/lib/libtinfo.so.6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@thomas, as you can see here, the shared library from the current Ncurses in MarIuX is used. So, that’s not the reason. ;-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How should the bee file look which installs libtinfo.so from ncurses?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A dedicated compatibility package.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You mean an update to curses v.6 (or even 5.9 would be a big jump), and try on an compat package for the old one. I guess this is going to be sporty.
For the record to clarify install, if I understood it correctly, ghcup does not build the binaries, but installs pre-built binaries. |
Add package which installs Haskell 8.10.1, cabal 3.2.0.0 and hls
(haskell-language-server) 0.5.1 using ghcup [1].
We need libtinfo.so.6 at build time for ghcup and at run time for
haskell. The installed libncursesw.so is (hopefully) ABI compatible, so
add it to the package.
[1] https://gitlab.haskell.org/haskell/ghcup-hs#manual-install